import 'package:xin_he/generated/json/base/json_convert_content.dart';
import 'package:xin_he/page/home/model/xin_he_special_distract_entity.dart';

XinHeSpecialDistractEntity $XinHeSpecialDistractEntityFromJson(Map<String, dynamic> json) {
	final XinHeSpecialDistractEntity xinHeSpecialDistractEntity = XinHeSpecialDistractEntity();
	final int? id = jsonConvert.convert<int>(json['id']);
	if (id != null) {
		xinHeSpecialDistractEntity.id = id;
	}
	final String? name = jsonConvert.convert<String>(json['name']);
	if (name != null) {
		xinHeSpecialDistractEntity.name = name;
	}
	final String? iconPath = jsonConvert.convert<String>(json['iconPath']);
	if (iconPath != null) {
		xinHeSpecialDistractEntity.iconPath = iconPath;
	}
	final int? seq = jsonConvert.convert<int>(json['seq']);
	if (seq != null) {
		xinHeSpecialDistractEntity.seq = seq;
	}
	final dynamic remark = jsonConvert.convert<dynamic>(json['remark']);
	if (remark != null) {
		xinHeSpecialDistractEntity.remark = remark;
	}
	final int? versionNum = jsonConvert.convert<int>(json['version_num']);
	if (versionNum != null) {
		xinHeSpecialDistractEntity.versionNum = versionNum;
	}
	final int? removed = jsonConvert.convert<int>(json['removed']);
	if (removed != null) {
		xinHeSpecialDistractEntity.removed = removed;
	}
	final int? createTime = jsonConvert.convert<int>(json['createTime']);
	if (createTime != null) {
		xinHeSpecialDistractEntity.createTime = createTime;
	}
	final int? updateTime = jsonConvert.convert<int>(json['updateTime']);
	if (updateTime != null) {
		xinHeSpecialDistractEntity.updateTime = updateTime;
	}
	final int? fCreateUserId = jsonConvert.convert<int>(json['fCreateUserId']);
	if (fCreateUserId != null) {
		xinHeSpecialDistractEntity.fCreateUserId = fCreateUserId;
	}
	final int? fUpdateUserId = jsonConvert.convert<int>(json['fUpdateUserId']);
	if (fUpdateUserId != null) {
		xinHeSpecialDistractEntity.fUpdateUserId = fUpdateUserId;
	}
	return xinHeSpecialDistractEntity;
}

Map<String, dynamic> $XinHeSpecialDistractEntityToJson(XinHeSpecialDistractEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['id'] = entity.id;
	data['name'] = entity.name;
	data['iconPath'] = entity.iconPath;
	data['seq'] = entity.seq;
	data['remark'] = entity.remark;
	data['version_num'] = entity.versionNum;
	data['removed'] = entity.removed;
	data['createTime'] = entity.createTime;
	data['updateTime'] = entity.updateTime;
	data['fCreateUserId'] = entity.fCreateUserId;
	data['fUpdateUserId'] = entity.fUpdateUserId;
	return data;
}